/* 全局样式 */
body {
    font-family: 'Arial', sans-serif;
    font-size: .875rem;
    background-color: #f8f9fa;
    color: #343a40;
}
h1 {
    margin-bottom: 20px;
}

form {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
}

input[type="text"], select {
    width: 100%;
    padding: 10px;
    margin: 5px 0 10px 0;
    border: 1px solid #ced4da;
    border-radius: 4px;
}
button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin: 5px 0;
    padding: 10px;
    border-radius: 4px;
}
.table-striped tbody tr.user-row {
    line-height: 2.5; /* 调整行间距 */
}

.table-striped tbody tr.user-row td {
    font-size: 16px; /* 调整字体大小 */
}
/* 侧边栏样式 */
.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    width: 250px;
    min-height: 100vh;
    background: #fff;
    box-shadow: 1px 0 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul li a {
    padding: 10px 20px;
    font-size: 1.1em;
    display: block;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

#sidebar ul li a:hover {
    color: #007bff;
    background: #f8f9fa;
}

#sidebar ul li a.active {
    color: #007bff;
    background: #f8f9fa;
}

#sidebar ul li a i {
    margin-right: 10px;
}

/* 主内容区域样式 */
#content {
    width: calc(100% - 250px);
    min-height: 100vh;
    transition: all 0.3s;
    background: #f8f9fa;
    padding: 20px;
}

#content.active {
    width: 100%;
}

/* 导航栏样式 */
.nav-link {
    color: #333;
    padding: 1rem;
}

.nav-link:hover {
    color: #007bff;
}

.nav-link.active {
    color: #007bff;
    background-color: #f8f9fa;
}

.nav-link i {
    margin-right: 0.5rem;
}

/* 卡片样式 */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.card-title {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
/* 标签框样式 */
.card-title, .card-text {
    text-align: center;
    font-size: 1.25rem; /* 增大字体 */
}
/* 分页组件 */
.pagination {
    justify-content: center; /* 居中显示分页控件 */
}
/* 响应式布局 */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #content {
        width: 100%;
    }
    #content.active {
        width: calc(100% - 250px);
    }
}
